<?php

namespace Modules\Edu\Http\Controllers\Front;

use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Routing\Controller;
use Modules\Edu\Entities\EduSystem;
use Modules\Edu\Repositories\LessonRepository;

class SystemController extends Controller
{
    public function index(LessonRepository $lessonRepository)
    {
        $lessons = $lessonRepository->getSystemLesson(20);
        return view('edu::front.system.index',compact('lessons'));
    }

    public function create()
    {
        return view('edu::create');
    }

    public function store(Request $request)
    {
    }

    public function show(EduSystem $system)
    {
        return view('edu::front.system.show', compact('system'));
    }

    public function edit($id)
    {
        return view('edu::edit');
    }

    public function update(Request $request, $id)
    {
    }

    public function destroy($id)
    {
    }
}
